/*通用样式*/
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.clearfix:after,
.clearfix:before{
    display: block;
    content: "";
    clear: both;
}
a{
    text-decoration: none;
    font-size: 14px;
    font-family: 'Roboto',sans-serif;
    line-height: 25px;
    cursor: pointer;
    color: #666666;
    transition: all 500ms ease;
}
/*logo开始*/
.logo-area h1{
    color: #f3a28b;
    text-align: center;
    font-family: 楷体;
    margin-top: 40px;
    margin-bottom: 20px;
}
.logo-area a:hover{
    text-decoration: none;
}
/*logo结束*/

/*导航开始*/
nav .menu-area li{
    float: left;
    list-style: none;
    display: inline-block;
    margin: 0 15px 0 30px;
}
nav .menu-area li a{
    color: #333333;
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 23px;
    padding: 19px 0 18px 0;
    letter-spacing: 1px;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    transition: all 500ms ease 0s;
}
nav .menu-area ul{
    margin-left: 30%;
}
nav .menu-area li a:hover{
    color: #f3a28b;
    transition: all 500ms ease;
    text-decoration: none;
}
/*导航结束*/

/*轮播开始*/
.carousel img{
    width: 100%;
    height: 286px;
    margin-left: 0;
}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next{
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    background-size: 35%;
}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next{
    font-size: 25px;
    text-align: center;
    color: #b5b3b3;
    font-weight: 800;
}
.swiper-button-next{
    font-size: 25px;
    text-align: center;
    color: #b5b3b3;
    font-weight: 800;
}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev{
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    background-size: 35%;
}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next,.swiper-button-next, .swiper-container-rtl .swiper-button-prev{
    background-image: none;
}
/*轮播结束*/

/*作品展示开始*/
.zhi .card .btn{
    color: white;
    background: #f3a28b;
}
.zhi .card .btn:hover{
    background: #d89783;
}

.zhi .card{
    height: 467px!important;
}
.zhi .card p{
    width: 246px!important;
    height: 127px!important;
}
.zhi{
    padding-top: 75px;
}
.zhi h3{
    color: #5a5753;
    margin-bottom: 30px;
}
.zhi .col-md-4{
    margin-bottom: 20px;
}
.zhi .btn-primary{
    background: #f3a28b;
    border-color: #f3a28b;
}
.zhi .btn-primary:hover{
    background: #e8967f;
    border-color: #e8967f;
}
.card{
    text-align: center;
}
.card img{
    width: 288px;
    height: 208px;
}
.swiper-slide{
    width: 0;
}
.te{
    width: auto;
}
.zhi .swiper-slide .swiper-slide-next{
    margin-right: 0;
}
.swiper-slide img{
    font-family: 'Roboto', sans-serif;
    line-height: 21px;
    font-weight: 700;
}
.swiper-slide p a{
    color: #222222;
    font-family: 'Roboto', sans-serif;
    line-height: 21px;
    font-weight: 500;
}
.swiper-slide p a:hover{
    color: #f3a28b;
    text-decoration: none;
}
.swiper-slide .btn-primary{
    background-color: #f3a28b;
    color: white;
    border-color: #f3a28b;
    font-family: 'Roboto', sans-serif;
    line-height: 21px;
    font-weight: 700;
    transition: all 500ms ease 0s;
}
.swiper-slide .btn-primary:hover{
    background-color: black;
    color: white;
    border-color: black;
    font-family: 'Roboto', sans-serif;
    line-height: 21px;
    font-weight: 700;
}
/*作品展示结束*/

/*关于我和课堂展示开始*/
.about .text p{
    color: #666666;
}
.about .text a:hover{
    text-decoration: none;
    color: #d66c4d;
}
.about .text a{
    margin-left: 6px;
}
.about .text i:hover{
    color: #d66c4d;
}
.about .sidebar-title{
    font-size: 13px;
    font-weight: 700;
    color: #333;
    display: block;
    text-align: center;
    padding: 9px 0 8px 0;
    border: 1px solid #f3a28b;
    margin-bottom: 17px;
    text-transform: uppercase;
}
.sidebar-content .img-box{
    display: inline-block;
    overflow: hidden;
    width: 194px;
    height: 194px;
    border-radius: 50%;
    margin-bottom: 6px;
}
.sidebar-content .img-box img{
    width: 100%;
    border-radius: 50%;
    transition: transform 0.5s;
}
.sidebar-content .img-box img:hover{
    transform: scale(1.1);
    transition: transform 0.5s;
}
.name{
    margin-top: 4px;
    margin-bottom: 4px;
}
.sidebar-content .name a{
    display: inline-block;
    font-size: 18px;
    font-family: 'Lora', serif;
    line-height:30px;
    color: #333;
    font-weight: 400;
}
.sidebar-content .name a:hover{
    text-decoration: none;
    color: #e8967f;
}
.sidebar-content .name a:hover.instagram-titler{
    color: #f3a28b;
    text-decoration: none;
}
.sidebar-content .text{
    text-align: center;
}
.sidebar-content .text p{
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 5px;
    color: #666666;
}
.card-body p a:hover{
    color: #e8967f;
    cursor: pointer;
    text-decoration: none;
}
.overlay-item img{
    width: 100%;
    height: 100%;
}
.overlay-item .inner-box {
    position: relative;
    overflow: hidden;
}
.overlay-item .image-box {
    position: relative;
    display: block;
    margin-bottom: 0;
    width: 397px;
    height: 300px;
    overflow: hidden;
}
.overlay-item .image-box img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.overlay-item .overlay-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    color: #ffffff;
    text-align: center;
    transition: all 700ms ease;
}
.overlay-item .overlay-box:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all 900ms ease;
    background-color: rgba(0, 0, 0, 0.50);
    transform: rotateX(-180deg);
}
.overlay-item .inner-box .overlay-inner {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: table;
    vertical-align: middle;
    padding: 10px 0;
}
.overlay-item .inner-box .overlay-inner .content {
    position: relative;
    display: table-cell;
    vertical-align: middle;
}
.content{
    padding-top: 30px;
}
.flo img{
    transition: transform 0.5s;
}
.about .content .flo:hover img{
    transform: scale(1.1);
    transition: transform 0.5s;
}
.about .content .flo:hover .overlay-box:before {
    transform: rotateX(0deg);
    opacity: 1;
    visibility: visible;
}
.about .content .flo .meta-text{
    font-family: 仿宋;
    font-size: 18px;
    font-weight: 600;
}
.about .content .flo .meta-text p{
    transition: all 900ms ease;
}
.about .content .flo .meta-text p:hover{
    color: #ec9175;
    cursor: pointer;
}
.flo:hover .overlay-box {
    opacity: 1;
}
.overlay-item .inner-box .overlay-inner .content a{
    position: relative;
    display: inline-block;
    color: #f3a28b;
    text-align: center;
    margin: 0 5px;
}
.overlay-item .inner-box .overlay-inner .content i:before{
    font-size: 28px;
    font-weight: 700;
}
.overlay-item .inner-box .overlay-inner .content a:hover{
    color: #ffffff;
}
.meta-text{
    text-align: center;
    padding: 1px 7px 0 7px;
    margin-bottom: 33px;
    margin-top: 14px;
}
.about{
    padding-top: 75px;
}
.sidebar-content{
    text-align: center;
}
.instagram-img-list{
    margin-bottom: 30px;
}
.sidebar-instagram li{
    float: left;
    list-style: none;
    width:45%;
    height: 100%;
    margin-left:10px;
    overflow: hidden;
    margin-bottom: 13px;
}
.sidebar-instagram li img{
    width: 110px;
    height: 110px;
    transition:all .4s;
}
.sidebar-instagram li img:hover{
    transform:scale(1.1);
}
.sidebar-instagram{
    margin-top: 50px;
}
.contact-adress .h3{
    text-align: center;
    font-size: 24px;
    color: #5a5b5f;
    margin-bottom:13px;
}
.contact-add-info h3{
    color: #707175;
    font-weight: 500;
    font-size: 18px;
}
.contact-add-info p{
    color: #a2a3a7;
    font-weight: 500;
    font-size: 18px;
}

/*关于我和课堂展示结束*/


/*联系我开始*/
.instagram-section{
    margin-top:30px;
}
.instagram-section li{
    list-style: none;
    float: left;
    width: 25%;
    overflow: hidden;
}
.instagram-section li img{
    width: 94%;
    height: 100%;
    transition:all .4s;
}
.instagram-section li img:hover{
    transform: scale(1.1);
}
.instagram-title{
    text-align: center;
    color: #333;
    margin-bottom:15px;
}
.instagram-section .row .col-md-4 .fen{
    text-align: center;
    display: inline-block;
}
.instagram-section .rotated-icon{
    position: relative;
    display: inline-block;
    float: left;
    width: 50px;
}
.instagram-section .rotated-icon .sqaure-nebir{
    height: 60px;
    width: 60px;
    border: 3px double #fff;
    transform: rotate(-45deg);
    text-align: center;
    background-color: #eabaac;
}
.instagram-section .rotated-icon i{
    position: absolute;
    left: 20px;
    top: 19px;
    color: white;
    font-size: 22px;
}
.instagram-section .rotated-icon .yi ,.instagram-section .rotated-icon .er{
    left: 25px;
}
.instagram-section .col-md-4 p{
    color: #000;
    margin-top: 10px;
    font-size: 19px;
}
.instagram-section .col-md-4 p:hover{
    color: #ce846e;
    cursor: pointer;
}
.scroll-to-top{
    position: fixed;
    bottom: 15px;
    right: 15px;
    font-size: 18px;
    line-height: 53px;
    width: 55px;
    height: 55px;
    background: #f3a28b;
    text-align: center;
    z-index: 100;
    cursor: pointer;
    display: none;
    border-radius: 50%;
    transition: all 500ms ease;
}
.scroll-to-top:hover{
    background-color: black;
}
.scroll-to-top span{
    color: #ffffff;
}
.zhi .col-md-4 button{
    outline: none;
}




/*响应式部分*/
@media (max-width: 600px) {
    nav .menu-area ul{
        margin-left: 0;
    }
    .search-box {
        right: 0;
        width: 195px!important;
    }
    .search-box input{
        width: 149px;
        height: 38px;
        padding-left: 10px;
    }
    .search-box button{
        width: 41px;
        height: 38px;
    }
    .overlay{
        width: auto;
        height: auto;
    }
    .sidebar-instagram li img{
        width: 100%;
        height: 100%;
    }
    .swiper-slide .te{
        width: 100%;
    }
    nav .menu-area li{
        text-align: center;
        width: 25%;
        margin:0;
    }
    nav .menu-area li a{
        padding:10px 0 10px 0;
    }
    .instagram-section li{
        width: 100%;
    }
    .overlay-item .image-box{
        width: 100%;
    }
    .te{
        width: 100%;
        height: 100%;
    }
    .swiper-slide ,.card ,.card img{
        width: 100% !important;
        height: 100%;
        margin-right: 0 !important;
    }
    .zhi .card{
        height: 100% !important;
    }
    .zhi .card p{
        width: 100% !important;
        height: 100% !important;
        text-align: center;
    }
    .card{
        margin-right: 0;
    }
    .zhi .col-md-4{
        margin-bottom: 20px;
        height: 100%;
    }
    .zhi h3{
        display: none;
    }
    .carousel{
        display: none;
    }
    .swiper-button-next, .swiper-container-rtl .swiper-button-prev ,.swiper-button-prev, .swiper-container-rtl .swiper-button-next{
        width: 26px;
        height: 26px;
    }
    .carousel img{
        width: 113px;
        height: 157px;
    }
    .about{
        padding-top: 0;
    }
    .zhi{
        margin-bottom: 60px;
        padding-top: 30px;
    }
    .swiper-slide-duplicate-active{
        width: 100%;
    }
    .swiper-slide{
        width: 100%;
    }
    .instagram-section .col-md-4{
        margin-top: 10px;
    }
    .instagram-section ul{
        display: none;
    }
}